body {
  font-family: Arial, sans-serif;
  text-align: center;
  background-color: #f0f0f0;
}

#game-board {
  display: grid;
  grid-template-columns: repeat(4, 80px);
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.card {
  width: 80px;
  height: 80px;
  background-color: #3498db;
  color: white;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 10px;
  user-select: none;
  transition: transform 0.3s ease;
  position: relative;
}

.card.flipped {
  background-color: #2ecc71;
  transform: rotateY(180deg);
}

.stats {
  font-size: 1rem;
  margin-top: 10px;
}

.stats p {
  margin: 5px 0;
}

#restart-btn {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #e74c3c;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#restart-btn:hover {
  background-color: #c0392b;
}
